.quiz {
    min-height: var(--minimal-height-block);
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background: radial-gradient(var(--color-primary), white); */
    background: linear-gradient(to top, rgba(255, 211, 218, 0.5), white);
    position: relative;
}

.quiz-text {
    display: block;
}

/* .quiz::after {
    content: "";
    background: center /contain no-repeat url(../img/first.png);
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: -1;
    filter: brightness(1.1) opacity(0.5);
} */


#quiz-h1 {
    font-size: var(--font-marks);
    font-family: var(--font-family-marks);
    font-weight: 400;
    position: relative;
    opacity: 0;
}

#quiz-h1::after {
    content: "До встречи в июле!";
    position: absolute;
    top: -20px;
    transform: scale(1, 1.6);
    letter-spacing: 3px;
    left: 0;
    width: 100%;
    font-size: 50px;
    opacity: .15;
    -webkit-text-stroke: .1px var(--color-primary);
    /* filter: brightness(1.2); */
    color: gray;
    font-weight: bold;
}

#quiz-p {
    font-size: var(--font-text);
    font-family: var(--font-family-other);
    opacity: 0;
    line-height: 1.6;
    margin-bottom: 50px;
}

.btn-not {
    font-family: var(--font-family-other);

    position: relative;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: transparent;
    border: 1px solid #dca393;
    cursor: pointer;
    color: #d6937a;
    font-size: var(--font-text);
    transition: all .5s;
    box-sizing: border-box;
    overflow: hidden;
    opacity: 0;
    outline: none;
}

.btn-not:hover {
    background-color: rgba(128, 128, 128, 0.1);
    border: 1px solid transparent;
  }

@media (max-width: 849px) {
.quiz-text {
    padding: 0 20px;
}
}


@media (max-width: 600px) {
    #quiz-h1 {
        font-size: 33px;
    }

    #quiz-h1::after {
        font-size: 38px;
        transform: scale(1, 1.5);
        letter-spacing: 0px;
    }

    .quiz::after {
        background: center /cover no-repeat url(../img/first.png);
        filter: brightness(1) opacity(0.2);  
    }

    #quiz-p {
        line-height: 1.5;
        font-size: 20px;
        letter-spacing: 1px;
        text-align: justify;

    }
    


}

@media (max-width: 349px) {

    #quiz-h1,
    #quiz-h1::after {
        font-size: 30px;
    }
}